/**
 * 登录请求参数
 */
export interface LoginData {
  /**
   * 用户名
   */
  username: string;
  /**
   * 密码
   */
  password: string;
}

interface UserInfo {
  token: string;
  createtime?: number;
  expires_in?: number;
  expiretime?: number;
  group_id?: number;
  id?: number;
  mobile?: string;
  nickname?: string;
  score?: number;
  tenant_id?: number;
  user_id?: number;
  username?: string;
  rule_type?: string;
}

/**
 * 登录响应
 */
export interface LoginResult {
  userinfo: UserInfo;
}
